(function () {
    $('.main-header-panel-btn').click(function () {
        var $panel_detail =  $('.main-header-panel2'),
            $detail_status = $panel_detail.css("display");

        if ( $detail_status === "none" ) {
            $panel_detail.css({ "display": "block"});
        } else if ( $detail_status === "block" ) {
            $panel_detail.css({ "display": "none"});
        }
    });

})();
